#!/bin/bash

# 安装必要工具
yum install -y nano
yum install -y wget

# 升级内核
rpm -Uvh https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install -y kernel-lt
grub2-set-default 0 
reboot